package com.lanxin.oa.zu.service;

import com.lanxin.bean.MpCardtype;
import com.lanxin.bean.MpContact;
import com.lanxin.util.PageBean;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface ZuService {
    //查询组
    PageBean selectzu(Integer page,Integer pageSize,String type);
    //通过id查询组
    MpCardtype selectzuByid(Integer oid);
    //添加组
    void insertzu(MpCardtype zu);
    //通过名称查询组中是否有该组了
    public boolean selectByzutype(String type,Integer oid);
    //修改
    void updatezu(MpCardtype zu);
    //删除
    boolean deletezu(MpCardtype zu);

}
